package com.techsoul.module.accounting.pojo.param;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.techsoul.common.core.annotation.ExcelField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * 财务应付 保存参数
 * 
 * @author liuen
 * @date 2021-04-11
 */
@Data
@Accessors(chain = true)
public class AccountingApSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;
    @ApiModelProperty("收款客户")
    private String billToCustName;
    @ApiModelProperty("发票号")
    private String invoiceNo;
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("支付流水号")
    private String slipNo;
    @ApiModelProperty("对账接受人")
    private String sentToSite;
    @ApiModelProperty("店铺ID")
    private String storeId;

    @ApiModelProperty("商城ID")
    private String mallId;

    @ApiModelProperty("结算状态")
    private String status;

    @ApiModelProperty("财务审核状态")
    private String fixStatus;

    @ApiModelProperty("业务单据号码")
    private String basicNo;

    @ApiModelProperty("业务单据序列号")
    private String orderSeqNo;

    @ApiModelProperty("业务单据明细序列号")
    private String orderItemNo;

    @ApiModelProperty("凭证结算号")
    private String acItemId;

    @ApiModelProperty("所属域")
    private String site;

    @ApiModelProperty("业务类别")
    private String bizKind;

    @ApiModelProperty("业务结算部门")
    private String bizUnit;

    @ApiModelProperty("结算账套")
    private String accUnit;

    @ApiModelProperty("部门")
    private String branchUnit;

    @ApiModelProperty("付款收款人(这里指供应商)")
    private String payCust;

    @ApiModelProperty("付款人")
    private String billToCust;

    @ApiModelProperty("是否合作伙伴")
    private String ptnrYn;

    @ApiModelProperty("凭证日期")
    private Date slipDt;

    @ApiModelProperty("发票类型")
    private String invoiceType;

    @ApiModelProperty("税务类型")
    private String taxType;

    @ApiModelProperty("结算货币金额")
    private Double amtCur;

    @ApiModelProperty("业务时机")
    private String jobDate;

    @ApiModelProperty("汇率")
    private String exrate;

    @ApiModelProperty("结算货币")
    private String curr;

    @ApiModelProperty("结算汇率")
    private Double rate;

    @ApiModelProperty("结算数量")
    private Double wtCnt;

    @ApiModelProperty("结算科目编码")
    private String frtCd;

    @ApiModelProperty("结算科目名称")
    private String frtNm;

    @ApiModelProperty("发票日期")
    private Date invoiceDt;

    @ApiModelProperty("里程")
    private Long miles;

    @ApiModelProperty("财务对账ID")
    private String invSettleId;

    @ApiModelProperty("财务结算ID")
    private String settlementId;

    @ApiModelProperty("备用单据号")
    private String billNo;

    @ApiModelProperty("承运人编码")
    private String carrierNo;

    @ApiModelProperty("配载单主键")
    private String dispatchId;

    @ApiModelProperty("配载明细主键")
    private String distributionNo;

    @ApiModelProperty("输入类型")
    private String inputType;

    @ApiModelProperty("是否来自费率表")
    private String autoYn;

    @ApiModelProperty("账期")
    private String pcTerm;

    @ApiModelProperty("物料编码")
    private String cargoObjectNo;

    @ApiModelProperty("物料名称")
    private String cargoObjectName;

    @ApiModelProperty("车辆编号")
    private String vehicleNo;

    @ApiModelProperty("付款类型")
    private String apTypeFlag;

    @ApiModelProperty("承运人是否有接口")
    private String carrierEdiYn;

    @ApiModelProperty("金额")
    private Double amount;

    @ApiModelProperty("已付款金额")
    private Double paiedFee;

    @ApiModelProperty("收货人名称")
    private String consigneeName;

    @ApiModelProperty("对应应收")
    private Double amtAr;

    @ApiModelProperty("是否破损")
    private String cargoDamageYn;

    @ApiModelProperty("未付款金额")
    private Double remainedAmount;

    @ApiModelProperty("源头客户名称")
    private String originalCustName;

    @ApiModelProperty("批号")
    private String batchWorkorderNo;

    @ApiModelProperty("发货单位")
    private String shippedQtyUnit;

    @ApiModelProperty("发货人姓名")
    private String shipperName;

    @ApiModelProperty("合同总额")
    private Double contractAmount;

    @ApiModelProperty("合同单价")
    private Double contractRate;

    @ApiModelProperty("司机编码")
    private String driverNo;

    @ApiModelProperty("付款类型")
    private String paymentType;

    @ApiModelProperty("对账对象")
    private String settlementApplicant;

    @ApiModelProperty("回单日期")
    private Date returnTime;

    @ApiModelProperty("源头订单明细编码")
    private String sourceItemId;

    @ApiModelProperty("要求运费")
    private Double askedTransitFee;

    @ApiModelProperty("结算基于")
    private String settleBasedOn;

    @ApiModelProperty("结算基于单位")
    private String settleBasedOnUnit;

    @ApiModelProperty("配载日期")
    private Date dispatchDate;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("商城名称")
    private String mallName;
    @ApiModelProperty("店铺名称")
    private String storeName;
    @ApiModelProperty("年月")
    private String monthYear;

    @ApiModelProperty("单价(现金)")
    private String custSaleUnitPrice;

    @ApiModelProperty("单价(里程)")
    private String custSaleUnitMile;

    @ApiModelProperty("订单支付金额（现金）")
    private Double custCashPaymentAmt;

    @ApiModelProperty("订单支付金额（里程）")
    private Double custMilePaymentAmt;

    @ApiModelProperty("折扣活动码")
    private String discountActivityCode;

    @ApiModelProperty("领券活动编码")
    private String storeDiscountActId;

    @ApiModelProperty("领券活动券号")
    private String storeDiscountCode;

    @ApiModelProperty("客户SKU号")
    private String custSkuId;

    @ApiModelProperty("客户SPU号")
    private String custSpuId;
    @ApiModelProperty("销售价格-自生成")
    private Double amtGenAr;

    @ApiModelProperty("店铺折扣金额")
    private Double storeDiscountAmt;

    @ApiModelProperty("店铺折扣金额(积分)")
    private Double storeDiscountAmtPoint;

    @ApiModelProperty("退单金额")
    private Double returnAmt;
    @ApiModelProperty("退单数量")
    private Integer returnQty;
    @ApiModelProperty("退单号")
    private String returnOrderItemNo;


    @ApiModelProperty("销售件数")
    private Double originalSellQty;
    @ApiModelProperty("品牌名")
    private String  brandName;

    @ApiModelProperty("领券现金")
    private Double storeCuponCash;

    @ApiModelProperty("领券里程")
    private Double storeCuponMile;

    @ApiModelProperty("实际销售价")
    private Double salesOriginAmount;

    @ApiModelProperty("商城单价")
    private Double custRelSalesUnitPrice;

    @ApiModelProperty("订单日期") //
    private String monthYearDate;
    @ApiModelProperty("退单日期") //
    private String returnMonthYearDate;
    @ApiModelProperty("退单采购金额") //
    private Double buyReturnAmt;
}
